Integrand size = 43, antiderivative size = 155 \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\frac {b^2 B x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b^2 (3 A+2 C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \sqrt {\cos (c+d x)}}+\frac {b^2 B \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{2 d}+\frac {b^2 C \cos ^{\frac {3}{2}}(c+d x) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.070, Rules used = {17, 3102, 2813} \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\frac {b^2 (3 A+2 C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d \sqrt {\cos (c+d x)}}+\frac {b^2 B x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b^2 B \sin (c+d x) \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}{2 d}+\frac {b^2 C \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x) \sqrt {b \cos (c+d x)}}{3 d} \]
[In]
[Out]
Rule 17
Rule 2813
Rule 3102
Rubi steps \begin{align*} \text {integral}& = \frac {\left (b^2 \sqrt {b \cos (c+d x)}\right ) \int \cos (c+d x) \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \, dx}{\sqrt {\cos (c+d x)}} \\ & = \frac {b^2 C \cos ^{\frac {3}{2}}(c+d x) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d}+\frac {\left (b^2 \sqrt {b \cos (c+d x)}\right ) \int \cos (c+d x) (3 A+2 C+3 B \cos (c+d x)) \, dx}{3 \sqrt {\cos (c+d x)}} \\ & = \frac {b^2 B x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b^2 (3 A+2 C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \sqrt {\cos (c+d x)}}+\frac {b^2 B \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{2 d}+\frac {b^2 C \cos ^{\frac {3}{2}}(c+d x) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d} \\ \end{align*}
Time = 1.20 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.48 \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\frac {(b \cos (c+d x))^{5/2} (6 B c+6 B d x+3 (4 A+3 C) \sin (c+d x)+3 B \sin (2 (c+d x))+C \sin (3 (c+d x)))}{12 d \cos ^{\frac {5}{2}}(c+d x)} \]
[In]
[Out]
Time = 9.72 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.55
method | result | size |
default | \(\frac {b^{2} \sqrt {\cos \left (d x +c \right ) b}\, \left (2 C \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+3 B \sin \left (d x +c \right ) \cos \left (d x +c \right )+6 A \sin \left (d x +c \right )+3 B \left (d x +c \right )+4 \sin \left (d x +c \right ) C \right )}{6 d \sqrt {\cos \left (d x +c \right )}}\) | \(86\) |
parts | \(\frac {A \,b^{2} \sin \left (d x +c \right ) \sqrt {\cos \left (d x +c \right ) b}}{d \sqrt {\cos \left (d x +c \right )}}+\frac {B \,b^{2} \sqrt {\cos \left (d x +c \right ) b}\, \left (\cos \left (d x +c \right ) \sin \left (d x +c \right )+d x +c \right )}{2 d \sqrt {\cos \left (d x +c \right )}}+\frac {C \,b^{2} \left (2+\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\cos \left (d x +c \right ) b}}{3 d \sqrt {\cos \left (d x +c \right )}}\) | \(122\) |
risch | \(\frac {b^{2} B x \sqrt {\cos \left (d x +c \right ) b}}{2 \sqrt {\cos \left (d x +c \right )}}+\frac {b^{2} \sqrt {\cos \left (d x +c \right ) b}\, \left (4 A +3 C \right ) \sin \left (d x +c \right )}{4 \sqrt {\cos \left (d x +c \right )}\, d}+\frac {b^{2} \sqrt {\cos \left (d x +c \right ) b}\, C \sin \left (3 d x +3 c \right )}{12 \sqrt {\cos \left (d x +c \right )}\, d}+\frac {b^{2} \sqrt {\cos \left (d x +c \right ) b}\, B \sin \left (2 d x +2 c \right )}{4 \sqrt {\cos \left (d x +c \right )}\, d}\) | \(138\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 263, normalized size of antiderivative = 1.70 \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\left [\frac {3 \, B \sqrt {-b} b^{2} \cos \left (d x + c\right ) \log \left (2 \, b \cos \left (d x + c\right )^{2} - 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right ) + 2 \, {\left (2 \, C b^{2} \cos \left (d x + c\right )^{2} + 3 \, B b^{2} \cos \left (d x + c\right ) + 2 \, {\left (3 \, A + 2 \, C\right )} b^{2}\right )} \sqrt {b \cos \left (d x + c\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{12 \, d \cos \left (d x + c\right )}, \frac {3 \, B b^{\frac {5}{2}} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt {b} \cos \left (d x + c\right )^{\frac {3}{2}}}\right ) \cos \left (d x + c\right ) + {\left (2 \, C b^{2} \cos \left (d x + c\right )^{2} + 3 \, B b^{2} \cos \left (d x + c\right ) + 2 \, {\left (3 \, A + 2 \, C\right )} b^{2}\right )} \sqrt {b \cos \left (d x + c\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{6 \, d \cos \left (d x + c\right )}\right ] \]
[In]
[Out]
Timed out. \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.53 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.61 \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\frac {12 \, A b^{\frac {5}{2}} \sin \left (d x + c\right ) + 3 \, {\left (2 \, {\left (d x + c\right )} b^{2} + b^{2} \sin \left (2 \, d x + 2 \, c\right )\right )} B \sqrt {b} + {\left (b^{2} \sin \left (3 \, d x + 3 \, c\right ) + 9 \, b^{2} \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (3 \, d x + 3 \, c\right ), \cos \left (3 \, d x + 3 \, c\right )\right )\right )\right )} C \sqrt {b}}{12 \, d} \]
[In]
[Out]
\[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\int { \frac {{\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {5}{2}}}{\cos \left (d x + c\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Time = 0.79 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.47 \[ \int \frac {(b \cos (c+d x))^{5/2} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx=\frac {b^2\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (12\,A\,\sin \left (c+d\,x\right )+9\,C\,\sin \left (c+d\,x\right )+3\,B\,\sin \left (2\,c+2\,d\,x\right )+C\,\sin \left (3\,c+3\,d\,x\right )+6\,B\,d\,x\right )}{12\,d\,\sqrt {\cos \left (c+d\,x\right )}} \]
[In]
[Out]